<?php     
    echo $rss->items($jobs, 'transformRSS');

    function transformRSS($job) {
        return array(
            'title'=>$job['position'],
            'link' => array('controller'=>'jobs', 'action'=>'view', $job['id']),
            'guid'=>array('controller'=>'jobs', 'action'=>'view', $job['id']),
            'description' => 'Job Location : '.$job['location'].'<br>Career Level : '.$job['level'].'<br> Salary : '.$job['salary'].'<br>Job post by : '.$job['company_name']." ",
            'author' => $job['company_name'],
            'pubDate' => $job['created']
        );
    }
?>